<html>
    <head>
    </head>

    <body>
    <h1>{{page_title}}</h1>

    <form action="/blog/add/post/" method="post">{% csrf_token %}

    <label for="title"> Title </label>
    <input type = "text" id = "title" name = "title" value = "" />

    <label for="category"> Category </label>
    <select name="category" id="category">
    {% for category in categories %}</p>
        <option value="{{category.id}}">{{category.title}}</option>
    <p>{% endfor %}
    </select>

    <label for="tags"> 글 꼬리표 </label>
    <input type = "text" id = "tags" name = "tags" value = "" />

    <textarea id = "content" name = "content"></textarea>
    <input type = "submit" value = "써넣기" />

    </form>
    </body>
</html>